package com.zsy.dao;

import com.zsy.pojo.OrderDetail;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface OrderDetailDao {


    void saveBatch(@Param("orderDetailList") List<OrderDetail> orderDetailList);

    @Select("select * from order_detail where order_id=#{id}")
    List<OrderDetail> pageUser(Long id);
}
